/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class UnitNameEnum extends StringEnum
{
    public static final String INV_VALUE = "0";
    public static final String ONBORDLIST_VALUE = "1";
    public static final String BILL_VALUE = "2";
    public static final String OTHER_VALUE = "3";

    public static final UnitNameEnum inv = new UnitNameEnum("inv", INV_VALUE);
    public static final UnitNameEnum onBordList = new UnitNameEnum("onBordList", ONBORDLIST_VALUE);
    public static final UnitNameEnum bill = new UnitNameEnum("bill", BILL_VALUE);
    public static final UnitNameEnum other = new UnitNameEnum("other", OTHER_VALUE);

    /**
     * construct function
     * @param String unitNameEnum
     */
    private UnitNameEnum(String name, String unitNameEnum)
    {
        super(name, unitNameEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static UnitNameEnum getEnum(String unitNameEnum)
    {
        return (UnitNameEnum)getEnum(UnitNameEnum.class, unitNameEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(UnitNameEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(UnitNameEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(UnitNameEnum.class);
    }
}